package com.jaryle.wenxin.config;

import com.jaryle.wenxin.util.WeiXinUtil;

/**
 * 描述:
 * 全局常量配置
 *
 * @author jaryle
 * @version V1.0
 * @create 2018-11-26
 */
public class GlobalConstant {
    public final static String WEIXIN_APPID="wx79ea78072cdec587";
    public final static String WEIXIN_APPSECRET="27fa96178b4c571f8a79142afd9e4781";

    //调用如下接口获取access_token
    public final static String WEIXIN_ACCESS_TOKEN_URL="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=WEIXIN_APPID&secret=WEIXIN_APPSECRET";
    //新增素材接口
    public final static String WEIXIN_MEIDA_URL = "https://api.weixin.qq.com/cgi-bin/media/upload?access_token=ACCESS_TOKEN&type=TYPE";
    //菜单接口
    public static final String WEIXIN_MENU_URL = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN";
}
